package com.elite.groovy.dev;

import com.elite.groovy.kh.KHExcelUtil;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.List;

/**
 * @projectName: ngsapitask-davco
 * @package: com.elite.groovy.dev
 * @className: ReadExcel
 * @author: LiJT
 * @description: TODO
 * @date: 2024-03-14 16:46
 * @version: 1.0
 */
public class ReadExcelDev {
    private static final Log log = LogFactory.getLog(ReadExcelDev.class);
    private static SimpleDateFormat sdf = new SimpleDateFormat("yyyyMMddHHmmssSSS");

    public static void main(String[] args) throws Exception {

        String IMPORT_BATCH_GUID = sdf.format(new Date());
        // 表头
        // String file_Path = "C:\\Users\\LiJT\\Desktop\\111.xlsx";
        String file_Path = "C:\\Users\\LiJT\\Downloads\\业务员导入模板2024-06-06.xlsx";

        List<List> file_Datas = KHExcelUtil.readExcel(file_Path, 1, 0);

        System.out.println(file_Datas);
    }

}
